xl: don't leak a lot of memory in forked process in domain_create
authorGianni Tedesco <gianni.tedesco@citrix.com>
Fri, 10 Sep 2010 17:49:49 +0000 (18:49 +0100)
committerGianni Tedesco <gianni.tedesco@citrix.com>
Fri, 10 Sep 2010 17:49:49 +0000 (18:49 +0100)
commitd074f7ebc98194fafd9218ca962d23bf50a76286
treed553c5c0b30f4fa8ba9ceaf4037fdd3d0ba87768
parentb050781292056a3a1b5d05ddf28a5e71d8ee408d
xl: don't leak a lot of memory in forked process in domain_create

A goto statement skips over freeing data structures for no good reason.
It's not a real issue since the next step is to exit() but this cleans
up output of valgrind so that other leaks and errors can be spotted.

Signed-off-by: Gianni Tedesco <gianni.tedesco@citrix.com>
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxl/xl_cmdimpl.c